@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
.tabs-newtab-button{
width:28px;
border:none!important;
background:transparent;
-moz-appearance:none;
margin:0 0 0 10px!important;
padding:0}

.tabs-newtab-button:hover{
background:transparent}

.tabs-newtab-button > .toolbarbutton-icon{
list-style-image:url("chrome://browser/skin/tabbrowser/newtab.png");
-moz-image-region:rect(0,28px,18px,0);
margin:3px 0 1px 0!important;
opacity:.7}

.tabs-newtab-button:hover > .toolbarbutton-icon,
.tabs-newtab-button:hover:active > .toolbarbutton-icon{
opacity:1}

.tabs-newtab-button > .toolbarbutton-text{
display:none!important}

.tabs-container[overflow="true"] > .tabs-newtab-button > .toolbarbutton-icon{
list-style-image:url("chrome://browser/skin/tabbrowser/newtab-overflow.png");
-moz-image-region:rect(0,18px,19px,0);
opacity:.7;
margin-top:2px!important}

.tabs-container[overflow="true"] > .tabs-newtab-button:hover > .toolbarbutton-icon{
opacity:1}

.tabs-alltabs-button{
width:21px;
border:none!important;
background:transparent;
-moz-appearance:none;
margin:0;
padding:0}

.tabs-alltabs-button > .toolbarbutton-icon{
list-style-image:url("chrome://browser/skin/tabbrowser/alltabs.png");
-moz-image-region:rect(0,29px,19px,0);
margin-right:5px!important;
opacity:.6}

.tabs-alltabs-button:hover{
background:transparent}

.tabs-alltabs-button:hover:active > .toolbarbutton-icon,
.tabs-alltabs-button[open="true"] > .toolbarbutton-icon,
.tabs-alltabs-button:hover > .toolbarbutton-icon{
opacity:1}

.tabs-alltabs-button > .toolbarbutton-menu-dropmarker,
.tabs-alltabs-button > .toolbarbutton-text{
display:none!important}

.tabs-alltabs-box-animate{
width:21px;
background:none!important;
opacity:0;
margin:0;
padding:0}

.alltabs-item > .menu-iconic-left > .menu-iconic-icon{
list-style-image:url("chrome://global/skin/icons/folder-item.png");
-moz-image-region:rect(0,16px,16px,0)}

.alltabs-item[selected="true"]{
font-weight:700}

.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon{
list-style-image:url("chrome://global/skin/throbber/throbber.png")}

.tabbrowser-arrowscrollbox > .scrollbutton-up,
.tabbrowser-arrowscrollbox > .scrollbutton-down{
-moz-appearance:none;
border:none;
background:none;
margin:1px 2px;
padding:0}

.tabbrowser-arrowscrollbox > .scrollbutton-up{
list-style-image:url("chrome://browser/skin/tabbrowser/tab-arrow-start.png");
-moz-image-region:rect(0,22px,22px,0)}

.tabbrowser-arrowscrollbox > .scrollbutton-down{
list-style-image:url("chrome://browser/skin/tabbrowser/tab-arrow-end.png");
-moz-image-region:rect(0,22px,22px,0)}

.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon,
.tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon{
opacity:.6}

.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled="true"]):hover > .toolbarbutton-icon,
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled="true"]):hover > .toolbarbutton-icon,
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled="true"]):hover:active > .toolbarbutton-icon,
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled="true"]):hover:active > .toolbarbutton-icon{
opacity:1}

.tabs-closebutton{
-moz-appearance:none;
list-style-image:url("chrome://global/skin/icons/closeSidebar.png");
-moz-image-region:rect(0,12px,12px,0);
background:none;
border:none;
margin:0 1px 0;
padding:1px 2px 0 2px}

.tabs-closebutton > .toolbarbutton-icon{
-moz-margin-end:0!important;
-moz-padding-end:2px!important;
-moz-padding-start:2px!important}

.tabs-closebutton:hover{
-moz-image-region:rect(12px,12px,24px,0)}

.tabs-closebutton:hover:active{
-moz-image-region:rect(24px,12px,36px,0)}

.tabbrowser-tabs{
-moz-binding:url("chrome://browser/skin/tabbrowser/tab.xml#tabbrowser-tabs")!important;
-moz-appearance:none;
height:30px!important;
width:100%!important;
background-image:url("chrome://browser/skin/tabbrowser/tabstrip-bg.png");
background-color:transparent;
background-repeat:repeat-x;
background-position:0 -30px;
padding:0}

#main-window[browsingmode="private"] .tabbrowser-tabs{
background-position:0 -90px}

.tabs-container:not([overflow="true"]){
-moz-padding-start:0;
-moz-padding-end:3px}

.tabbrowser-strip{
width:100%;
margin:0;
padding:0}

.tabbrowser-tab{
-moz-binding:url("chrome://browser/skin/tabbrowser/tab.xml#tabbrowser-tab")!important;
-moz-appearance:none;
background-color:transparent;
border:none!important;
-moz-border-radius:0!important;
height:27px!important;
margin:0!important;
padding:0!important}

.tabbrowser-tab .tab-middle,
.tabbrowser-tab:not([selected="true"]) .tab-middle{
border:none!important;
outline:none!important;
height:27px!important;
background:transparent url("chrome://browser/skin/tabbrowser/tab-middle.png") repeat-x 0 -27px}

.tabbrowser-tab,
.tabbrowser-tab[selected="true"],
.tabbrowser-tab:hover,
.tabbrowser-tab:not([selected="true"]):hover{
margin-left:15px!important;
margin-right:-15px!important}

.tabbrowser-tab .tab-left,
.tabbrowser-tab .tab-right{
width:15px!important;
height:27px!important;
background:transparent url("chrome://browser/skin/tabbrowser/tabs.png") no-repeat}

.tabbrowser-tab .tab-left,
.tabbrowser-tab:not([selected="true"]):first-of-type .tab-left,
.tabbrowser-tab[selected="false"]:not(:first-of-type):not([afterselected="true"]) .tab-left,
.tabbrowser-tab[selected="true"]:not(:last-of-type) + .tabbrowser-tab:not([selected="true"]) .tab-left,
.tabbrowser-tab:not([selected="true"]):first-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):last-of-type .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab:not([selected="true"]) .tab-left,
.tabbrowser-tab[selected="true"]:not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:first-of-type) .tab-left{
margin-left:-15px!important;
display:-moz-box;
background-position:0 -108px}

.tabbrowser-tab:not([selected="true"]):first-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):last-of-type .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab:not([selected="true"]) .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected]):last-of-type:not(:first-of-type) .tab-left,
.tabbrowser-tab[selected="false"]:not(:first-of-type):not([afterselected="true"]) .tab-left,.tabbrowser-tab[selected="false"]:not(:last-of-type) + .tabbrowser-tab:not([selected="true"]) .tab-left,
.tabbrowser-tab:not(:last-of-type):not([selected="true"]) + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:last-of-type[selected="false"] + .tabbrowser-tab:last-of-type[selected="false"] .tab-left,
.tabbrowser-tab:last-of-type + .tabbrowser-tab[selected="false"]:not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab[selected="false"] .tab-left{
display:-moz-box;
background-position:0 -216px}

.tabbrowser-tab:last-of-type[selected="true"] + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) .tab-left{
background-position:0 -54px}

.tabbrowser-tab .tab-right,
.tabbrowser-tab[beforeselected="true"] .tab-right,
.tabbrowser-tab:not([selected="true"])[beforeselected="true"] .tab-right,
.tabbrowser-tab[beforeselected="true"]:last-of-type .tab-right,
.tabbrowser-tab:not([selected="true"]):last-of-type .tab-right{
background-position:0 -135px}

.tabbrowser-tab[selected="false"]:not(:last-of-type):not([beforeselected="true"]) .tab-right{
background-position:0 -216px}

.tabbrowser-tab:hover .tab-middle{
background-position:0 -54px}

.tabbrowser-tab:hover .tab-left,
.tabbrowser-tab:not([selected=true]):first-of-type:hover .tab-left{
display:-moz-box;
background-position:0 -162px}

.tabbrowser-tab .tab-right,
.tabbrowser-tab:hover .tab-right{
visibility:hidden!important}

.tabbrowser-tab:last-of-type .tab-right,
.tabbrowser-tab[beforeselected="true"] .tab-right{
visibility:visible!important}

.tabbrowser-tab .tab-right,
.tabbrowser-tab:hover .tab-right,
.tabbrowser-tab[beforeselected="true"]:last-of-type:hover .tab-right,
.tabbrowser-tab:not([selected=true])[beforeselected="true"]:hover .tab-right,
.tabbrowser-tab:not([selected="true"]):last-of-type:hover .tab-right{
background-position:0 -189px}

.tabbrowser-tab:not([selected]):last-of-type:not(:first-of-type):hover .tab-left,
.tabbrowser-tab[selected="false"]:not([afterselected="true"]):not(:first-of-type):hover .tab-left,
.tabbrowser-tab[selected="false"]:not(:last-of-type) + .tabbrowser-tab:not([selected="true"]):hover .tab-left,
.tabbrowser-tab[selected="false"]:not(:first-of-type):not([afterselected="true"]):hover .tab-left,
.tabbrowser-tab:not(:last-of-type):not([selected="true"]) + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type):hover .tab-left,
.tabbrowser-tab:last-of-type:not([selected="true"]) + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type):hover .tab-left,
.tabbrowser-tab:last-of-type[selected="false"] + .tabbrowser-tab:last-of-type[selected="false"]:hover .tab-left,
.tabbrowser-tab:last-of-type + .tabbrowser-tab[selected="false"]:not(:last-of-type):not(:first-of-type):hover .tab-left,
.tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type):hover .tab-left,
.tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab[selected="false"]:hover .tab-left,
.tabbrowser-tab:not([selected="true"]):first-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type):hover .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type):hover .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):last-of-type:hover .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type):hover .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type):hover .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) + .tabbrowser-tab:not([selected="true"]):hover .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:first-of-type):hover .tab-left{
display:-moz-box;
background-position:0 -270px}

.tabbrowser-tab:last-of-type[selected="true"] + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type):hover .tab-left{
background-position:0 -81px}

.tabbrowser-tab[selected="false"]:not([beforeselected="true"]):hover + .tabbrowser-tab .tab-left,
.tabbrowser-tab[selected="false"]:not(:last-of-type):hover + .tabbrowser-tab:not([selected="true"]) .tab-left,
.tabbrowser-tab:not(:last-of-type):not([selected="true"]):hover + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:last-of-type:not([selected="true"]):hover + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:last-of-type[selected="false"]:hover + .tabbrowser-tab:last-of-type[selected="false"] .tab-left,
.tabbrowser-tab:last-of-type:hover + .tabbrowser-tab[selected="false"]:not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type):hover + .tabbrowser-tab:not([selected="true"]):last-of-type .tab-left,
.tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type):hover + .tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not([selected="false"]):not(:last-of-type):not(:first-of-type):hover + .tabbrowser-tab[selected="false"] .tab-left,
.tabbrowser-tab:not([selected="true"]):first-of-type:hover + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type:hover + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type:hover + .tabbrowser-tab:not([selected="true"]):last-of-type .tab-left,
.tabbrowser-tab:not([selected="true"]):last-of-type:hover + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type):hover + .tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type) .tab-left,
.tabbrowser-tab:not([selected="true"]):not(:last-of-type):not(:first-of-type):hover + .tabbrowser-tab:not([selected="true"]) .tab-left{
background-position:0 -297px}

.tabbrowser-tab[selected="false"]:not(:last-of-type):not([beforeselected="true"]):hover .tab-right{
background-position:0 -297px}

.tabbrowser-tab[selected="true"] .tab-middle{
background-position:0 0}

.tabbrowser-tab[selected="true"] .tab-left,
.tabbrowser-tab[beforeselected="true"] + .tabbrowser-tab[selected="true"] .tab-left{
display:-moz-box;
background-position:0 0}

.tabbrowser-tab[selected="true"] .tab-right{
visibility:visible!important}

.tabbrowser-tab[selected="true"] .tab-right,
.tabbrowser-tab[selected="true"]:not(:last-of-type) .tab-right{
background-position:0 -27px}

.tabbrowser-tab[afterselected="true"] .tab-left,
.tabbrowser-tab[selected="true"]:not(:last-of-type) + .tabbrowser-tab .tab-left,
.tabbrowser-tab[selected="true"]:not(:last-of-type) + .tabbrowser-tab:not([selected="true"]) .tab-left{
display:-moz-box;
background-position:0 -54px}

.tabbrowser-tab[afterselected="true"]:hover .tab-left,
.tabbrowser-tab[selected="true"]:not(:last-of-type) + .tabbrowser-tab:hover .tab-left{
display:-moz-box;
background-position:0 -81px}

.tabbrowser-tab[busy] > .tab-middle > .tab-icon-image{
list-style-image:url("chrome://global/skin/throbber/throbber.png")}

.tab-icon-image{
-moz-margin-start:2px;
-moz-margin-end:1px;
width:16px;
height:16px;
list-style-image:url("chrome://global/skin/icons/folder-item.png");
-moz-image-region:rect(0,16px,16px,0)}

.tabs-bottom{
height:1px;
margin:0}

tabpanels{
-moz-appearance:none}

.tabbrowser-tab[selected="true"] > .tab-middle > .tab-text{
border:1px dotted transparent;
opacity:.99!important;
color:#e1e1e1!important}

.tabbrowser-tab:not([selected="true"]) > .tab-middle > .tab-text{
color:#000!important;
opacity:.99!important}

.tab-drop-indicator-bar{
display:none!important;
height:0;
margin-top:0;
-moz-margin-start:0}

.tab-drop-indicator{
display:none!important;
height:0;
width:0;
margin-bottom:0}

.tab-close-button > .toolbarbutton-icon{
-moz-margin-end:0}

.tab-close-button{
-moz-appearance:none;
display:-moz-box;
-moz-image-region:rect(0,12px,12px,0);
height:27px;
border:none;
list-style-image:url("chrome://browser/skin/tabbrowser/close.png");
background:transparent url("chrome://browser/skin/tabbrowser/tab-middle.png") repeat-x 0 -27px;
-moz-border-radius:0;
margin:0;
padding:0}

.tab-close-button:hover{
-moz-image-region:rect(12px,12px,24px,0)}

.tab-close-button:hover:active{
-moz-image-region:rect(24px,12px,36px,0)}

.tabbrowser-tab:not([selected="true"]) > .tab-close-button{
-moz-image-region:rect(0,24px,12px,12px)}

.tabbrowser-tab:not([selected="true"]):hover > .tab-close-button{
background:transparent url("chrome://browser/skin/tabbrowser/tab-middle.png") repeat-x 0 -54px}

.tabbrowser-tab[selected="true"] > .tab-close-button{
-moz-image-region:rect(0,12px,12px,0);
-moz-user-focus:normal;
background:transparent url("chrome://browser/skin/tabbrowser/tab-middle.png") repeat-x 0 0}

.tabbrowser-tab:not([selected="true"]) > .tab-close-button{
-moz-image-region:rect(0,24px,12px,12px)}

.tabbrowser-tab:not([selected="true"]):hover > .tab-close-button,
.tabbrowser-tab[selected="true"] > .tab-close-button:hover{
-moz-image-region:rect(12px,12px,24px,0)}

.tabbrowser-tab:not([selected="true"]) > .tab-close-button.tabbrowser-tab[selected="true"] > .tab-close-button:hover:active{
-moz-image-region:rect(24px,12px,36px,0)}

.tabbrowser-tab:not([selected="true"]) > .tab-close-button,
.tabbrowser-tab[selected="true"] > .tab-close-button:focus,
.tab-close-button:focus{outline:none}

tab[pin="true"] .tab-text,tab[pin="true"] .tab-text-stack *{
visibility:hidden!important;
margin:0;
padding:0;
max-width:5px}

.tabbrowser-tabs tab[pin="true"]{
min-width:37px!important;
max-width:37px!important}

.tabbrowser-tabs[closebuttons="noclose"] tab[pin="true"],
.tabbrowser-tabs[closebuttons="activetab"] tab[pin="true"][selected="false"],
.tabbrowser-tabs[favhideclose="true"] tab[pin="true"]{
max-width:37px!important}

.tabbrowser-tabs[favhideclose="true"] tab[pin="true"] .tab-close-button,tab[pin="true"] .tab-close-button{
display:none!important}

.tabbrowser-tab[selected="true"][highlight="true"] .tab-text{
font-weight:bold!important}